//
//  UIManager.h
//  Water
//
//  Created by reyzhang on 2021/2/2.
//  Copyright © 2021 myjs. All rights reserved.
//  UI 适配管理器

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN


#define kSafeAreaTop [UIManager sharedManager].safeAreaTop
#define kSafeAreaBottom [UIManager sharedManager].safeAreaBottom

@interface UIManager : NSObject
/*
 * 是否是刘海屏
 * */
@property (nonatomic, assign, readonly) BOOL isHairHead;

@property (nonatomic,assign,readonly) CGFloat safeAreaTop;
@property (nonatomic,assign,readonly) CGFloat safeAreaBottom;

+ (instancetype)sharedManager;
@end

NS_ASSUME_NONNULL_END
